﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataSetEsquemaAppCeiiTableAdapters;

/// <summary>
/// Descripción breve de UsuarioBLL
/// </summary>
public class UsuarioBLL
{
	public UsuarioBLL(){}

    //conexion con base de datos EscorpiusTour
    private USUARIOTableAdapter _usrAdapter = null;
    protected USUARIOTableAdapter Adapter
    {
        get
        {
            if (_usrAdapter == null)
                _usrAdapter = new USUARIOTableAdapter();

            return _usrAdapter;
        }
    }
    //seleccionar elementos de tabla considera
    [System.ComponentModel.DataObjectMethodAttribute
    (System.ComponentModel.DataObjectMethodType.Select, true)]
    public DataSetEsquemaAppCeii.USUARIODataTable verPass(int rut)
    {
        return Adapter.GetDataByRut(rut);
    }
}
